interface Post {
  title: string;
  content: string;
  cover: string;
  createTime: Date;
  updateTime: Date;
  id: number;
}

interface PostData {
  title: string;
  desc: string;
  cover: string;
  date: string;
  id: number;
}

interface Community {
  id: number;
  uid: number;
  userProfile?: UserInfo;
  time?: Date;
  postTitle?: string;
  postContent?: string;
  coverList: string[];
  cover?: string;
  likes: number;
  postNum: number;
  name: string;
  isFollow: number;
  createTime: number[];
}

interface CommunityData {
  postTitle: string;
  postContent: string;
  cover: string;
}

interface Contribute {
  title?: string;
  content?: string;
  mediaList: File[];
}
